package gao.xiaolei.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.time.LocalDateTime;

@Entity
@Data
public class TestDesign extends TestBase {

    @Column(name = "describe_text", columnDefinition = "text")
    private String describe;//测试计划描述或者主题文件夹描述

    @Column
    private Integer priority;// 测试计划的优先级

    public TestDesign(String id, String title, String author, String describe,String project, Integer status, Integer priority, Integer leaf, String parentId, LocalDateTime createDate, LocalDateTime updateDate) {
        super(id, title, author, project, status, leaf, parentId, createDate, updateDate);
        this.describe = describe;
        this.priority = priority;
    }

    public TestDesign() {
    }
}
